package org.gis.mapserver.adapter;

import org.gis.mapserver.source.Source;
import org.gis.mapserver.suppliers.adapters.RasterImageSourceAdapter;

/**
 *
 * @author gus
 */
public class SourceAdapterFactory
{
    public static RasterImageSourceAdapter getRasterImageSourceAdapter(Source source ) throws Exception
    {
        if ( source == null )
        {
            throw new IllegalArgumentException("source");
        }
        return new RasterImageSourceAdapter(source);
    }
}
